home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 18310 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  2.1 KB

  1. Path: ix.netcom.com!news
  2. From: Bradd W. Szonye <bradds@ix.netcom.com>
  3. Newsgroups: comp.lang.ada,comp.lang.c,comp.lang.c++,comp.edu
  4. Subject: RE: ANSI C and POSIX (was Re: C/C++ knocks the crap out of Ada)
  5. Date: 19 Apr 1996 08:57:42 GMT
  6. Organization: Netcom
  7. Message-ID: <01bb2dce.8f2fad80$c6c2b7c7@Zany.localhost>
  8. References: <JSA.96Feb16135027@organon.com> <dewar.828757752@schonberg> <danpop.828819479@rscernix> <dewar.828879781@schonberg> <4k9qhe$65r@solutions.solon.com> <dewar.828936837@schonberg> <828964950snz@genesis.demon.co.uk> <4kbfup$2vd@news1.mnsinc.com> <4kbl5i$p3@mordred.gatech.edu> <4kbs17$6ts@news1.mnsinc.com> <dewar.829012748@schonberg>
  9. NNTP-Posting-Host: det-mi6-06.ix.netcom.com
  10. X-NETCOM-Date: Fri Apr 19  3:57:42 AM CDT 1996
  11. X-Newsreader: Microsoft Internet News
  12.  
  13.  
  14. On Monday, April 08, 1996, Robert Dewar wrote...
  15. > Szu-Wen said
  16. > It's a joke, lighten up ;).
  17. > (referring to his comment about portability of behavior)
  18. > Actually the joke is on you, because the comment you made is not a joke
  19. > at all but instead a very important point, around which a lot of
  20. language
  21. > design decisions focus.
  22. > An obvous goal of any language design is to minimize or eliminate
  23. > undefined and non-deterministic behavior.
  24. > These goals are often not net because of two important considerations:
  25. >  1. Over specifying can lead to inefficient code (e.g. requiring left to
  26. >     right evaluation)
  27. >  2. Some features (low level bit twiddling, tasking, etc.) may make it
  28. >     desirable semantically to introduce undefined or ND behavior.
  29. > Debating the compromises here is a major activity of language design.
  30.  
  31. True, those are goals of language design. However, they're not goals of
  32. language standarization. The goals of *that* are to codify existing
  33. practice. Throughout the C language, if it came to a choice between
  34. breaking existing code or leaving something undefined, ANSI made it
  35. undefined half the time and "implementation-defined" the other half. The
  36. demands of C programmers on the language's efficiency on the local machine
  37. made it harder still to come up with unbreakable rules.
  38.  
  39. Bradd
  40.  
  41.  
  42.